﻿using Ewell.BizComponent.UI.Core.VievModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.BizComponent.UI.Reserve.ViewModel
{
    public class EsProviderInfoVm:ViewModelBase
    {
        /// <summary>
        /// 就诊服务提供者关系标识
        /// </summary>
        private long? _esXProviderId;
        public long? esXProviderId
        {
            get => _esXProviderId;
            set
            {
                if(_esXProviderId != value)
                {
                    _esXProviderId = value;
                    OnPropertyChanged(nameof(esXProviderId));
                }
            }
        }
        /// <summary>
        /// 就诊服务提供者标识
        /// </summary>
        private string _esProviderId;
        public string esProviderId
        {
            get => _esProviderId;
            set { if(_esProviderId != value)
                {
                    _esProviderId = value; OnPropertyChanged(nameof(esProviderId));
                } }
        }
        /// <summary>
        /// 就诊服务提供者类型代码
        /// </summary>
        private string _esProviderTypeCoding;
        public string esProviderTypeCoding
        {
            get => _esProviderTypeCoding;
            set
            {
                if(_esProviderTypeCoding != value)
                {
                    _esProviderTypeCoding = value;
                    OnPropertyChanged(nameof(esProviderTypeCoding));
                }
            }
        }
        /// <summary>
        /// 就诊服务提供者名称
        /// </summary>
        private string _esProviderName;
        public string esProviderName
        {
            get => _esProviderName;
            set
            {
                if( _esProviderName != value)
                {
                    _esProviderName = value; 
                    OnPropertyChanged(nameof(esProviderName));
                }
            }
        }
    }
}
